﻿using BCDto.Sim.Admin.Admin;
using BCDto.Sim.CompanyBelongArea;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.Sim.CompanyBelongArea
{
    /// <summary>
    /// 公司归属区域
    /// </summary>
    public interface ICompanyBelongAreaService
    {
        /// <summary>
        /// 获取公司归属区域
        /// </summary>
        /// <param name="companyId">公司Id</param>
        /// <returns></returns>
        IEnumerable<CompanyBelongAreaDto> Query(int companyId);
        /// <summary>
        /// 获取其他公司已设置的归属区域列表
        /// </summary>
        /// <param name="companyId">公司Id</param>
        /// <returns></returns>
        IEnumerable<CompanyBelongAreaDto> OtherBelongArea(int companyId);

        /// <summary>
        /// 设置公司归属区域
        /// </summary>
        /// <param name="adminDto">管理员信息</param>
        /// <param name="companyId">公司Id</param>
        /// <param name="companyBelongAreaRequestDtos">归属区域列表</param>
        /// <returns></returns>
        IEnumerable<CompanyBelongAreaDto> SettingBelongArea(AdminDto adminDto,int companyId,List<CompanyBelongAreaRequestDto> companyBelongAreaRequestDtos);
    }
}
